StellarPay\AdminDashboard\RestApi\SubscriptionsListPage A

Total Complexity 60
Dependencies 25
Dependents 4
Total lines 590
Lines of code 394
Logical lines of code 159
Comment lines 81
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
cancelSubscription()
A
39 11 67
prepareSubscriptionData()
A
42 7 52
updateExistingPaymentMethod()
A
47 7 38
getRecurringPeriod()
S
54 6 22
getRoutes()
S
40 1 86
addNewPaymentMethod()
S
49 4 33
getSingleSubscription()
S
60 4 13
validateAndGetSubscription()
S
62 4 11
getPaymentMethods()
S
54 3 21
getSubscriptionListPage()
S
56 3 19
isEditPaymentMethodRequest()
S
75 2 4
prepareSubscriptionDataById()
S
69 2 7
permissionCheck()
S
78 2 3
getPerPageLimit()
S
79 1 3
processRequest()
S
68 1 7
isCancelationRequest()
S
79 1 3
__construct()
S
73 1 5